package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.topevery.garden.entity.po.ApprovalFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * 批后监管数据 视图
 *
 * @author code-generate
 * @date 2022-02-16
 */
@Data
@ApiModel(value = "Approval 视图", description = "批后监管数据 视图")
public class ApprovalVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 审批号
     */
    @ApiModelProperty(value = "审批号")
    @Excel(name = "审批号", orderNum = "0")
    private String approvalCode;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    @Excel(name = "名称", orderNum = "0")
    private String name;

    /**
     * 申请单位
     */
    @ApiModelProperty(value = "申请单位")
    @Excel(name = "申请单位", orderNum = "0")
    private String applyUnit;

    /**
     * 审批单位
     */
    @ApiModelProperty(value = "审批单位")
    @Excel(name = "审批单位", orderNum = "0")
    private String approvalUnit;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    @Excel(name = "内容", orderNum = "0")
    private String content;

    /**
     * 审批位置
     */
    @ApiModelProperty(value = "审批位置")
    @Excel(name = "审批位置", orderNum = "0")
    private String location;

    /**
     * 占用绿地面积(平方米)
     */
    @ApiModelProperty(value = "占用绿地面积(平方米)")
    @Excel(name = "占用绿地面积(平方米)", orderNum = "0")
    private Double measure;

    /**
     * 占用类型 1 永久占用 2 临时占用 
     */
    @ApiModelProperty(value = "占用类型 1 永久占用 2 临时占用 ")
    @Excel(name = "占用类型 1 永久占用 2 临时占用 ", orderNum = "0")
    private Integer occupationType;

    /**
     * 砍伐树木品种
     */
    @ApiModelProperty(value = "砍伐树木品种")
    @Excel(name = "砍伐树木品种", orderNum = "0")
    private String treeType;

    /**
     * 砍伐树木数量
     */
    @ApiModelProperty(value = "砍伐树木数量")
    @Excel(name = "砍伐树木数量", orderNum = "0")
    private Integer treeNumber;

    /**
     * 占用开始时间
     */
    @ApiModelProperty(value = "占用开始时间")
    @Excel(name = "占用开始时间", orderNum = "0")
    private LocalDate startDate;

    /**
     * 占用结束时间
     */
    @ApiModelProperty(value = "占用结束时间")
    @Excel(name = "占用结束时间", orderNum = "0")
    private LocalDate endDate;

    /**
     * 审批时间
     */
    @ApiModelProperty(value = "审批时间")
    @Excel(name = "审批时间", orderNum = "0")
    private LocalDate approvalDate;

    /**
     * 申请原因
     */
    @ApiModelProperty(value = "申请原因")
    @Excel(name = "申请原因", orderNum = "0")
    private String applyReason;

    /**
     * 附件
     */
    @ApiModelProperty(value = "附件")
    @Excel(name = "附件", orderNum = "0")
    private String fileUrl;

    @ApiModelProperty(value = "文件")
    private List<ApprovalFile> fileList;

    @ApiModelProperty(value = "序号")
    @Excel(name = "序号", orderNum = "0")
    private String serialNumber;

    @ApiModelProperty(value = "联系人")
    @Excel(name = "联系人", orderNum = "0")
    private String contacts;

    @ApiModelProperty(value = "联系电话")
    @Excel(name = "联系电话", orderNum = "0")
    private String telephone;
}
